anchor link
例如,如果您通过st.header()命令定义标题文本,如下所示:
st.header("Section 1")
然后您可以使用以下命令创建指向此标头的链接:
st.markdown("[Section 1](#section-1)")
例如,如果您通过st.header()命令定义标题文本,如下所示:
st.header("Section 1")
然后您可以使用以下命令创建指向此标头的链接:
st.markdown("[Section 1](#section-1)")